package ua.com.globallogic.training.subway;


public abstract class SubwayCard {

    private CardState state;

    public SubwayCard(CardState state) {
        this.state = state;
    }

    public long getId() {
        return state.getId();
    }

    public abstract void chargeOneTrip();
}


